#!/usr/bin/env node

// 先获取参数
let type = process.argv.splice(2);

import download from './download'
import color from './color'

type[0] && download(type[0],{dir:process.cwd()}).then(e=>{
    console.log(color("绿色","\nSuccessful\n"))
    console.log(color("蓝色","文件地址："),color("绿色",e))
})